package io.mybatis.example.springboot.model;

import io.mybatis.provider.Entity;
import org.apache.ibatis.type.JdbcType;

import lombok.Getter;
import lombok.Setter;


/**
 * sys_user_post - 用户与岗位关联表
 *
 * @author mkj
 */
@Getter
@Setter
@Entity.Table("sys_user_post" remark = "用户与岗位关联表", autoResultMap = true)
public class SysUserPostDO {
  @Entity.Column(value = "user_id", id = true, remark = "用户ID", updatable = false, insertable = false)
  private Long userId;

  @Entity.Column(value = "post_id", id = true, remark = "岗位ID", updatable = false, insertable = false)
  private Long postId;

}
